package com.ldgk.pim.client.presenter;

import com.ldgk.pim.client.view.VisitView;
import com.ldgk.pim.data.Visit;

/**
 * Distribution Visit Presenter
 * @version 1.0
 */
public class VisitPresenter implements Presenter {
	/** Visit view */
	private VisitView view;

	/**
	 * Default constructor
	 * 
	 * @param view
	 */
	public VisitPresenter(VisitView view) {
		this.view = view;
		this.view.setPresenter(this);
	}

	/**
	 * Find and presents all the visits of a given place
	 * @param placeId
	 */
	public void showVisitsByPlace(long placeId){
		
	}
	
	/**
	 * Method called by the view when a visit is created or updated
	 * @param visit 
	 */
	public void visitCreatedOrUpdated(Visit visit){
		
	}
	
	/**
	 * Method called by the view when a Visit is deleted
	 * @param visit
	 */
	public void visitDeleted(Visit visit){
		
	}
}
